win10

您所在的位置:网站首页 windows交叉编译arm linux win10

win10

2024-06-08 10:42| 来源: 网络整理| 查看: 265

【1】软件包准备

下载cygwin,请自行按需下载,给出参考地址:https://cygwin.com/install.html

下载cmake,请自行按需下载,给出参考地址:https://cmake.org/download/

 下载gcc-linaro-arm-linux-gnueabihf,请自行按需下载,给出参考地址:https://www.cnblogs.com/huty/p/8518302.html

下载Make For Windows ,请自行按需下载,给出参考地址:http://www.equation.com/servlet/equation.cmd?fa=make

【2】软件安装

安装cmake和cygwin软件,并将其加入环境path,例如:

D:\workForSoftware\CMake\bin D:\workForSoftware\cygwin64\bin D:\workForSoftware\cygwin64\sbin

将make.exe放置cygwin工作路径或将其所在目录加入环境path。

cmake -version和make -v测试

安装 gcc-linaro-arm-linux-gnueabihf,本文安装路径为

D:\workForSoftware\Linaro\gcc-linaro-arm-linux-gnueabihf-4.9

【3】样例构建与编译

建立源代码main.cpp

#include int main(int, char**) { std::cout


【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3